package com.shoping.web.entity;

import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Id;
import javax.persistence.Table;

@Data
@Table(name = "student")
public class Student {

    @Id
    @KeySql(useGeneratedKeys = true)
    private Long id;

    private Long studentId;

    private String studentName;

    private Integer classId;
}
